package pkg

import (
	"fmt"
	"github.com/Baidu-AIP/golang-sdk/aip/censor"
)

func Baidu() {
	//client := censor.NewClient("ak", "sk")
	//如果是百度云ak sk,使用下面的客户端
	client := censor.NewCloudClient("ak", "sk")
	res := client.TextCensor("审核文字")
	fmt.Println(res)
}
